package com.mutouren.modules.org.client;

import com.mutouren.common.entity.Result;
import com.mutouren.common.entity.ResultInfo;
import com.mutouren.common.session.UserInfo;
import com.mutouren.modules.org.entity.IdentityType;

public interface OrgAuthentication {
	ResultInfo<UserInfo> login(String loginName, String password);
	ResultInfo<UserInfo> mappingUser(String identity, IdentityType identityType);
	Result modifyPassword(int userId, String oldPassword, String newPassword);
}
